<?php
/**
 * @description
 *  文章详细页面
 *
 * filename : /admin/modules/content/views/content_data_view.php
 * date     : 2009-2-2 18:01
 * author   : hotgun
 * email    : hotgun@163.com
 * 
 * (c)copyright hotgun
 *
 * $Id: /admin/modules/content/views/content_data_view.php,v 1.0 2009-2-2 18:01 $
 */

// 取得返回字符串
$back_url   = strcode(getcookie('back_url'), 'DECODE');
if($back_url == '') $back_url   = $mod_url['li'];

// 处理字符串防止特殊符号引起的错误，
$process_include    = array('username', 'nickname', 'content', 'reply');
string_pre_process($record, $process_include);
require($abs_admin_cppath . '/header.php');
?>


<link rel="stylesheet" rev="stylesheet" href="<?php echo $url_global['common']; ?>/css/win.css" type="text/css" media="all">
<SCRIPT LANGUAGE="JavaScript" SRC="<?php echo $url_global['common']; ?>/js/Validator.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="<?php echo $url_global['common']; ?>/js/popcalendar.js"></SCRIPT>
		<div class="datacontainer2" style="width:90%;">
<div class="header">
<?php if($record['type']==1){?>报价<?php }else{echo '购买';}?>详情
</div>
<table BORDER="0" cellpadding="0" cellspacing="0" width="100%" class="list_table">
<form action="<?php echo $mod_url['save'] ?>" method="post" name="article_data" enctype="multipart/form-data" onsubmit="return Validator.Validate(this,3);">
<TR>
	<TD width="80" align="right" class="caption">项目名称</TD>
	<TD class="cell" colspan="3"> <?php echo $record['article_title']; ?>
	</TD>
</TR>
<TR>
	<TD width="80" align="right" class="caption">会员</TD>
	<TD class="cell" colspan="3"> <?php echo $record['user']['username']; ?>
	</TD>
</TR>
<TR>
	<TD width="80" align="right" class="caption">姓名</TD>
	<TD class="cell" colspan="3"> <?php echo $record['user']['realname']; ?>
	</TD>
</TR>
<TR>
	<TD width="80" align="right" class="caption">电话</TD>
	<TD class="cell" colspan="3"> <?php echo $record['user']['tel']; ?>
	</TD>
</TR>
<TR>
	<TD width="80" align="right" class="caption">Email</TD>
	<TD class="cell" colspan="3"> <?php echo $record['user']['email']; ?>
	</TD>
</TR>
<?php if($record['type']==1){?>
<TR>
	<TD width="80" align="right" class="caption">报价金额</TD>
	<TD class="cell" colspan="3"> <?php echo $record['money']; ?>
	</TD>
</TR>
<?php }?>
<TR>
	<TD width="80" align="right" class="caption"><?php if($record['type']==1){?>报价<?php }else{echo '购买';}?>时间</TD>
	<TD class="cell" colspan="3">
		<?php echo date(DATE_TIME_FORMAT, $record['add_time']); ?> @ <?php echo $record['ip']; ?>
	</TD>
</TR>
</form>
</TABLE>

		</div>
<?
require('footer.php');
?>